package com.autohome.wz.business.order.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Orderdetail implements Serializable {
    private Integer id;

    private String ordernum;

    private String productname;

    private Integer count;

    private BigDecimal unitprice;

    private BigDecimal actualpayment;

    private BigDecimal othercosts;

    private String preferential;

    private String productDetail;

    private String additionalInfo;

    private Integer relObjId;

    private Integer relObjType;

    private Integer buyerid;

    private Date buytime;

    private Integer status;

    private String idcode;

    private String pidcode;

    private Integer type;

    private Integer sellerid;

    private String extIdcode;

    private Integer sellerSettingsId;

    private Integer settleAccountsStatus;

    private String subordernum;

    private Date finishedtime;

    private String remark;

    private String extAdditionalInfo;

    private Date processingTime;

    private Integer exstatus;

    private BigDecimal settlePaypartner;

    private BigDecimal settleOthercosts;

    private Integer firstSellerid;

    private Integer firstSellerSettingsId;

    private Long updatetimestamp;

    private Integer orderExpressInfoId;

    private Integer techParnterId;

    private BigDecimal parvalue;

    private Integer orderCostStatus;

    private Integer priceid;

    private Integer itemskuid;

    private Integer itemid;

    private Integer businessid;

    private String platformid;

    private String sourceid;

    private String enid;

    private Integer commentStatus;

    private String device;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(String ordernum) {
        this.ordernum = ordernum == null ? null : ordernum.trim();
    }

    public String getProductname() {
        return productname;
    }

    public void setProductname(String productname) {
        this.productname = productname == null ? null : productname.trim();
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public BigDecimal getUnitprice() {
        return unitprice;
    }

    public void setUnitprice(BigDecimal unitprice) {
        this.unitprice = unitprice;
    }

    public BigDecimal getActualpayment() {
        return actualpayment;
    }

    public void setActualpayment(BigDecimal actualpayment) {
        this.actualpayment = actualpayment;
    }

    public BigDecimal getOthercosts() {
        return othercosts;
    }

    public void setOthercosts(BigDecimal othercosts) {
        this.othercosts = othercosts;
    }

    public String getPreferential() {
        return preferential;
    }

    public void setPreferential(String preferential) {
        this.preferential = preferential == null ? null : preferential.trim();
    }

    public String getProductDetail() {
        return productDetail;
    }

    public void setProductDetail(String productDetail) {
        this.productDetail = productDetail == null ? null : productDetail.trim();
    }

    public String getAdditionalInfo() {
        return additionalInfo;
    }

    public void setAdditionalInfo(String additionalInfo) {
        this.additionalInfo = additionalInfo == null ? null : additionalInfo.trim();
    }

    public Integer getRelObjId() {
        return relObjId;
    }

    public void setRelObjId(Integer relObjId) {
        this.relObjId = relObjId;
    }

    public Integer getRelObjType() {
        return relObjType;
    }

    public void setRelObjType(Integer relObjType) {
        this.relObjType = relObjType;
    }

    public Integer getBuyerid() {
        return buyerid;
    }

    public void setBuyerid(Integer buyerid) {
        this.buyerid = buyerid;
    }

    public Date getBuytime() {
        return buytime;
    }

    public void setBuytime(Date buytime) {
        this.buytime = buytime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getIdcode() {
        return idcode;
    }

    public void setIdcode(String idcode) {
        this.idcode = idcode == null ? null : idcode.trim();
    }

    public String getPidcode() {
        return pidcode;
    }

    public void setPidcode(String pidcode) {
        this.pidcode = pidcode == null ? null : pidcode.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getSellerid() {
        return sellerid;
    }

    public void setSellerid(Integer sellerid) {
        this.sellerid = sellerid;
    }

    public String getExtIdcode() {
        return extIdcode;
    }

    public void setExtIdcode(String extIdcode) {
        this.extIdcode = extIdcode == null ? null : extIdcode.trim();
    }

    public Integer getSellerSettingsId() {
        return sellerSettingsId;
    }

    public void setSellerSettingsId(Integer sellerSettingsId) {
        this.sellerSettingsId = sellerSettingsId;
    }

    public Integer getSettleAccountsStatus() {
        return settleAccountsStatus;
    }

    public void setSettleAccountsStatus(Integer settleAccountsStatus) {
        this.settleAccountsStatus = settleAccountsStatus;
    }

    public String getSubordernum() {
        return subordernum;
    }

    public void setSubordernum(String subordernum) {
        this.subordernum = subordernum == null ? null : subordernum.trim();
    }

    public Date getFinishedtime() {
        return finishedtime;
    }

    public void setFinishedtime(Date finishedtime) {
        this.finishedtime = finishedtime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getExtAdditionalInfo() {
        return extAdditionalInfo;
    }

    public void setExtAdditionalInfo(String extAdditionalInfo) {
        this.extAdditionalInfo = extAdditionalInfo == null ? null : extAdditionalInfo.trim();
    }

    public Date getProcessingTime() {
        return processingTime;
    }

    public void setProcessingTime(Date processingTime) {
        this.processingTime = processingTime;
    }

    public Integer getExstatus() {
        return exstatus;
    }

    public void setExstatus(Integer exstatus) {
        this.exstatus = exstatus;
    }

    public BigDecimal getSettlePaypartner() {
        return settlePaypartner;
    }

    public void setSettlePaypartner(BigDecimal settlePaypartner) {
        this.settlePaypartner = settlePaypartner;
    }

    public BigDecimal getSettleOthercosts() {
        return settleOthercosts;
    }

    public void setSettleOthercosts(BigDecimal settleOthercosts) {
        this.settleOthercosts = settleOthercosts;
    }

    public Integer getFirstSellerid() {
        return firstSellerid;
    }

    public void setFirstSellerid(Integer firstSellerid) {
        this.firstSellerid = firstSellerid;
    }

    public Integer getFirstSellerSettingsId() {
        return firstSellerSettingsId;
    }

    public void setFirstSellerSettingsId(Integer firstSellerSettingsId) {
        this.firstSellerSettingsId = firstSellerSettingsId;
    }

    public Long getUpdatetimestamp() {
        return updatetimestamp;
    }

    public void setUpdatetimestamp(Long updatetimestamp) {
        this.updatetimestamp = updatetimestamp;
    }

    public Integer getOrderExpressInfoId() {
        return orderExpressInfoId;
    }

    public void setOrderExpressInfoId(Integer orderExpressInfoId) {
        this.orderExpressInfoId = orderExpressInfoId;
    }

    public Integer getTechParnterId() {
        return techParnterId;
    }

    public void setTechParnterId(Integer techParnterId) {
        this.techParnterId = techParnterId;
    }

    public BigDecimal getParvalue() {
        return parvalue;
    }

    public void setParvalue(BigDecimal parvalue) {
        this.parvalue = parvalue;
    }

    public Integer getOrderCostStatus() {
        return orderCostStatus;
    }

    public void setOrderCostStatus(Integer orderCostStatus) {
        this.orderCostStatus = orderCostStatus;
    }

    public Integer getPriceid() {
        return priceid;
    }

    public void setPriceid(Integer priceid) {
        this.priceid = priceid;
    }

    public Integer getItemskuid() {
        return itemskuid;
    }

    public void setItemskuid(Integer itemskuid) {
        this.itemskuid = itemskuid;
    }

    public Integer getItemid() {
        return itemid;
    }

    public void setItemid(Integer itemid) {
        this.itemid = itemid;
    }

    public Integer getBusinessid() {
        return businessid;
    }

    public void setBusinessid(Integer businessid) {
        this.businessid = businessid;
    }

    public String getPlatformid() {
        return platformid;
    }

    public void setPlatformid(String platformid) {
        this.platformid = platformid == null ? null : platformid.trim();
    }

    public String getSourceid() {
        return sourceid;
    }

    public void setSourceid(String sourceid) {
        this.sourceid = sourceid == null ? null : sourceid.trim();
    }

    public String getEnid() {
        return enid;
    }

    public void setEnid(String enid) {
        this.enid = enid == null ? null : enid.trim();
    }

    public Integer getCommentStatus() {
        return commentStatus;
    }

    public void setCommentStatus(Integer commentStatus) {
        this.commentStatus = commentStatus;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device == null ? null : device.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Orderdetail other = (Orderdetail) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrdernum() == null ? other.getOrdernum() == null : this.getOrdernum().equals(other.getOrdernum()))
            && (this.getProductname() == null ? other.getProductname() == null : this.getProductname().equals(other.getProductname()))
            && (this.getCount() == null ? other.getCount() == null : this.getCount().equals(other.getCount()))
            && (this.getUnitprice() == null ? other.getUnitprice() == null : this.getUnitprice().equals(other.getUnitprice()))
            && (this.getActualpayment() == null ? other.getActualpayment() == null : this.getActualpayment().equals(other.getActualpayment()))
            && (this.getOthercosts() == null ? other.getOthercosts() == null : this.getOthercosts().equals(other.getOthercosts()))
            && (this.getPreferential() == null ? other.getPreferential() == null : this.getPreferential().equals(other.getPreferential()))
            && (this.getProductDetail() == null ? other.getProductDetail() == null : this.getProductDetail().equals(other.getProductDetail()))
            && (this.getAdditionalInfo() == null ? other.getAdditionalInfo() == null : this.getAdditionalInfo().equals(other.getAdditionalInfo()))
            && (this.getRelObjId() == null ? other.getRelObjId() == null : this.getRelObjId().equals(other.getRelObjId()))
            && (this.getRelObjType() == null ? other.getRelObjType() == null : this.getRelObjType().equals(other.getRelObjType()))
            && (this.getBuyerid() == null ? other.getBuyerid() == null : this.getBuyerid().equals(other.getBuyerid()))
            && (this.getBuytime() == null ? other.getBuytime() == null : this.getBuytime().equals(other.getBuytime()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getIdcode() == null ? other.getIdcode() == null : this.getIdcode().equals(other.getIdcode()))
            && (this.getPidcode() == null ? other.getPidcode() == null : this.getPidcode().equals(other.getPidcode()))
            && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
            && (this.getSellerid() == null ? other.getSellerid() == null : this.getSellerid().equals(other.getSellerid()))
            && (this.getExtIdcode() == null ? other.getExtIdcode() == null : this.getExtIdcode().equals(other.getExtIdcode()))
            && (this.getSellerSettingsId() == null ? other.getSellerSettingsId() == null : this.getSellerSettingsId().equals(other.getSellerSettingsId()))
            && (this.getSettleAccountsStatus() == null ? other.getSettleAccountsStatus() == null : this.getSettleAccountsStatus().equals(other.getSettleAccountsStatus()))
            && (this.getSubordernum() == null ? other.getSubordernum() == null : this.getSubordernum().equals(other.getSubordernum()))
            && (this.getFinishedtime() == null ? other.getFinishedtime() == null : this.getFinishedtime().equals(other.getFinishedtime()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getExtAdditionalInfo() == null ? other.getExtAdditionalInfo() == null : this.getExtAdditionalInfo().equals(other.getExtAdditionalInfo()))
            && (this.getProcessingTime() == null ? other.getProcessingTime() == null : this.getProcessingTime().equals(other.getProcessingTime()))
            && (this.getExstatus() == null ? other.getExstatus() == null : this.getExstatus().equals(other.getExstatus()))
            && (this.getSettlePaypartner() == null ? other.getSettlePaypartner() == null : this.getSettlePaypartner().equals(other.getSettlePaypartner()))
            && (this.getSettleOthercosts() == null ? other.getSettleOthercosts() == null : this.getSettleOthercosts().equals(other.getSettleOthercosts()))
            && (this.getFirstSellerid() == null ? other.getFirstSellerid() == null : this.getFirstSellerid().equals(other.getFirstSellerid()))
            && (this.getFirstSellerSettingsId() == null ? other.getFirstSellerSettingsId() == null : this.getFirstSellerSettingsId().equals(other.getFirstSellerSettingsId()))
            && (this.getUpdatetimestamp() == null ? other.getUpdatetimestamp() == null : this.getUpdatetimestamp().equals(other.getUpdatetimestamp()))
            && (this.getOrderExpressInfoId() == null ? other.getOrderExpressInfoId() == null : this.getOrderExpressInfoId().equals(other.getOrderExpressInfoId()))
            && (this.getTechParnterId() == null ? other.getTechParnterId() == null : this.getTechParnterId().equals(other.getTechParnterId()))
            && (this.getParvalue() == null ? other.getParvalue() == null : this.getParvalue().equals(other.getParvalue()))
            && (this.getOrderCostStatus() == null ? other.getOrderCostStatus() == null : this.getOrderCostStatus().equals(other.getOrderCostStatus()))
            && (this.getPriceid() == null ? other.getPriceid() == null : this.getPriceid().equals(other.getPriceid()))
            && (this.getItemskuid() == null ? other.getItemskuid() == null : this.getItemskuid().equals(other.getItemskuid()))
            && (this.getItemid() == null ? other.getItemid() == null : this.getItemid().equals(other.getItemid()))
            && (this.getBusinessid() == null ? other.getBusinessid() == null : this.getBusinessid().equals(other.getBusinessid()))
            && (this.getPlatformid() == null ? other.getPlatformid() == null : this.getPlatformid().equals(other.getPlatformid()))
            && (this.getSourceid() == null ? other.getSourceid() == null : this.getSourceid().equals(other.getSourceid()))
            && (this.getEnid() == null ? other.getEnid() == null : this.getEnid().equals(other.getEnid()))
            && (this.getCommentStatus() == null ? other.getCommentStatus() == null : this.getCommentStatus().equals(other.getCommentStatus()))
            && (this.getDevice() == null ? other.getDevice() == null : this.getDevice().equals(other.getDevice()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrdernum() == null) ? 0 : getOrdernum().hashCode());
        result = prime * result + ((getProductname() == null) ? 0 : getProductname().hashCode());
        result = prime * result + ((getCount() == null) ? 0 : getCount().hashCode());
        result = prime * result + ((getUnitprice() == null) ? 0 : getUnitprice().hashCode());
        result = prime * result + ((getActualpayment() == null) ? 0 : getActualpayment().hashCode());
        result = prime * result + ((getOthercosts() == null) ? 0 : getOthercosts().hashCode());
        result = prime * result + ((getPreferential() == null) ? 0 : getPreferential().hashCode());
        result = prime * result + ((getProductDetail() == null) ? 0 : getProductDetail().hashCode());
        result = prime * result + ((getAdditionalInfo() == null) ? 0 : getAdditionalInfo().hashCode());
        result = prime * result + ((getRelObjId() == null) ? 0 : getRelObjId().hashCode());
        result = prime * result + ((getRelObjType() == null) ? 0 : getRelObjType().hashCode());
        result = prime * result + ((getBuyerid() == null) ? 0 : getBuyerid().hashCode());
        result = prime * result + ((getBuytime() == null) ? 0 : getBuytime().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getIdcode() == null) ? 0 : getIdcode().hashCode());
        result = prime * result + ((getPidcode() == null) ? 0 : getPidcode().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getSellerid() == null) ? 0 : getSellerid().hashCode());
        result = prime * result + ((getExtIdcode() == null) ? 0 : getExtIdcode().hashCode());
        result = prime * result + ((getSellerSettingsId() == null) ? 0 : getSellerSettingsId().hashCode());
        result = prime * result + ((getSettleAccountsStatus() == null) ? 0 : getSettleAccountsStatus().hashCode());
        result = prime * result + ((getSubordernum() == null) ? 0 : getSubordernum().hashCode());
        result = prime * result + ((getFinishedtime() == null) ? 0 : getFinishedtime().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getExtAdditionalInfo() == null) ? 0 : getExtAdditionalInfo().hashCode());
        result = prime * result + ((getProcessingTime() == null) ? 0 : getProcessingTime().hashCode());
        result = prime * result + ((getExstatus() == null) ? 0 : getExstatus().hashCode());
        result = prime * result + ((getSettlePaypartner() == null) ? 0 : getSettlePaypartner().hashCode());
        result = prime * result + ((getSettleOthercosts() == null) ? 0 : getSettleOthercosts().hashCode());
        result = prime * result + ((getFirstSellerid() == null) ? 0 : getFirstSellerid().hashCode());
        result = prime * result + ((getFirstSellerSettingsId() == null) ? 0 : getFirstSellerSettingsId().hashCode());
        result = prime * result + ((getUpdatetimestamp() == null) ? 0 : getUpdatetimestamp().hashCode());
        result = prime * result + ((getOrderExpressInfoId() == null) ? 0 : getOrderExpressInfoId().hashCode());
        result = prime * result + ((getTechParnterId() == null) ? 0 : getTechParnterId().hashCode());
        result = prime * result + ((getParvalue() == null) ? 0 : getParvalue().hashCode());
        result = prime * result + ((getOrderCostStatus() == null) ? 0 : getOrderCostStatus().hashCode());
        result = prime * result + ((getPriceid() == null) ? 0 : getPriceid().hashCode());
        result = prime * result + ((getItemskuid() == null) ? 0 : getItemskuid().hashCode());
        result = prime * result + ((getItemid() == null) ? 0 : getItemid().hashCode());
        result = prime * result + ((getBusinessid() == null) ? 0 : getBusinessid().hashCode());
        result = prime * result + ((getPlatformid() == null) ? 0 : getPlatformid().hashCode());
        result = prime * result + ((getSourceid() == null) ? 0 : getSourceid().hashCode());
        result = prime * result + ((getEnid() == null) ? 0 : getEnid().hashCode());
        result = prime * result + ((getCommentStatus() == null) ? 0 : getCommentStatus().hashCode());
        result = prime * result + ((getDevice() == null) ? 0 : getDevice().hashCode());
        return result;
    }
}